﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _8_Factory
{
    class LeiFeng
    {
        public void Sweep()
        {
            Console.WriteLine("扫地");
        }

        public void Wash()
        {
            Console.WriteLine("洗衣");
        }

        public void BuyRice()
        {
            Console.WriteLine("买米");
        }
    }

    /*学雷锋的大学生*/
    class Undergraduate : LeiFeng
    {
    }
    /*社区自愿者*/
    class Volunteer : LeiFeng
    {
    }
}
